/* Estilos para Agendamiento - PoderSEO (dark by default) */
:root {
  --bg:#0b0f1a;
  --card:#0b1220;
  --line:#1f2937;
  --text:#e6eaf3;
  --muted:#a9b2c4;
  --brand:#22c55e;
  --link:#38bdf8;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:#f8fafc;
    --card:#ffffff;
    --line:#e5e7eb;
    --text:#0b1220;
    --muted:#556070;
    --brand:#16a34a;
    --link:#2563eb;
  }
}

* { box-sizing:border-box; }
html,body { height:100% }
body {
  margin:0;
  font-family: Inter,system-ui,Segoe UI,Roboto,Arial;
  background: var(--bg);
  color: var(--text);
}

a { color: var(--link); text-decoration: none; }
.container { width:min(1180px,92%); margin-inline:auto; }

/* Header (optional, minimal spacing if not used) */
header.site { position:sticky; top:0; background: rgba(2,6,23,.6); backdrop-filter: blur(8px); border-bottom:1px solid var(--line); padding:10px 0; z-index:2; }
nav.site { display:flex; align-items:center; justify-content:space-between; }
.brand { font-weight:900 }

/* Buttons */
.btn {
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.65rem 1rem;
  border-radius:12px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--text);
  cursor:pointer;
  transition: all .25s ease;
  text-decoration:none;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background:linear-gradient(135deg,var(--brand),#22d3ee);
  color:#031018;
  border-color:transparent;
}
.btn.primary:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(34,197,94,.35);
}
.btn.danger {
  background:transparent;
  border-color:#7f1d1d;
  color:#ef4444;
}
.btn.muted { border-color:var(--line); color:var(--muted); background:rgba(255,255,255,.03) }

/* Cards & layout */
.card {
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  box-shadow:0 10px 24px rgba(2,6,23,.25);
}

.grid { display:grid; gap:18px; }
.grid.cols-2 { grid-template-columns:repeat(2,1fr); }
.grid.cols-3 { grid-template-columns:repeat(3,1fr); }
@media (max-width:1000px) {
  .grid.cols-2, .grid.cols-3 { grid-template-columns:1fr; }
}

/* Inputs */
.field { display:flex; flex-direction:column; gap:.35rem; }
label { display:block; font-weight:700; color:var(--muted); }
input, select, textarea {
  width:100%;
  padding:.8rem 1rem;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color:var(--text);
  font-size:1rem;
  outline:none;
  transition: all .25s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(34,197,94,.35);
  background: rgba(255,255,255,.08);
}

/* Tables */
table { width:100%; border-collapse:separate; border-spacing:0 10px; }
th, td { padding:12px 10px; text-align:left; }
th { font-size:12px; color:var(--muted); font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
tr { background: var(--card); border-radius:12px; box-shadow: 0 4px 18px rgba(2,6,23,.18); }
.nowrap{white-space:nowrap}
.muted{color:var(--muted)}
.section-title{font-size:22px;margin:0 0 10px;font-weight:800}
.stack{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.right{margin-left:auto}
.mb-2{margin-bottom:12px} .mb-3{margin-bottom:16px} .mb-4{margin-bottom:24px}
.mt-2{margin-top:12px} .mt-3{margin-top:16px} .mt-4{margin-top:24px}

/* Badges (status) */
.status{
  padding:.35rem .7rem;
  border-radius:999px;
  font-size:.8rem;
  font-weight:800;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}
.st-pendiente{ border-color:#a1a1aa; color:#e4e4e7; }
.st-confirmada{ border-color:#0369a1; color:#7dd3fc; }
.st-reprogramada{ border-color:#6d28d9; color:#c4b5fd; }
.st-realizada{ border-color:#065f46; color:#6ee7b7; }
.st-no-asistio{ border-color:#b91c1c; color:#fecaca; }
.st-cancelada{ border-color:#64748b; color:#cbd5e1; }

/* Images within content */
.post-content img {
  max-width:100%;
  height:auto;
  border-radius:10px;
  border:1px solid var(--line);
}

/* Footer */
footer.site { border-top:1px solid var(--line); padding:16px 0; color:var(--muted); }
